export default class Person {
    name!: string  // ! 表示可以不用赋值
    age!: number

    constructor(name: string, age: number) {

        this.name = name
        this.age = age
    }

    show() {
        console.log(this.name, this.age)
    }
}